package com.liuyu.common.framework.insurance.picc.zb.model.request.invoice;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 人保总部接口-发票信息
 * @author: liuyu
 * @date: 2022/3/31 12:38
 * @version: 1
 */
@XStreamAlias("InvoiceInfo")
@Data
public class PiccZbInvoiceInfo {
    @XStreamAlias("Policyno")
/**保单号*/
    private String policyNo;

    @XStreamAlias("RequestTime")
/**请求时间如：2012-04-0610:27:53；*/
    private LocalDateTime requestTime;

    @XStreamAlias("InvoiceTitle")
/**发票抬头不能为空，如果默认投保人或是被保险人，请联系分公司业务*/
    private String invoiceTitle;

    @XStreamAlias("AddressAndPhone")
/**地址、手机号*/
    private String addressAndPhone;

    @XStreamAlias("Phone")
/**手机号*/
    private String phone;

    @XStreamAlias("BankAccount")
/**购买方银行账号*/
    private String bankAccount;

    @XStreamAlias("BuyerTaxpayerIdentifyNumber")
/**购买方纳税人识别号*/
    private String buyerTaxpayerIdentifyNumber;

    @XStreamAlias("Email")
/**邮箱*/
    private String email;

    @XStreamAlias("Type")
/**发票类型：1，短链接2，版式下载*/
    private String type;

    @XStreamAlias("PlanfeePeriod")
/**12MPlanfeePeriod12M指开第12期发票   分期标准开票*/
    private String planfeePeriod;

    @XStreamAlias("Invoicetotalamount")
/**112该缴期保费  分期标准开票*/
    private BigDecimal invoiceTotalAmount;

}
